﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 委托
{
    class Me
    {
        public void Joking(ref int moodValue)
        {
            Console.WriteLine("讲笑话");
            moodValue ++;
        }

        public void Shopping(ref int moodValue)
        {
            Console.WriteLine("购物");
            moodValue += 2;
        }

        public void Gaming(ref int moodValue)
        {
            Console.WriteLine("打游戏");
            moodValue += 2;
        }

        public void Eating(ref int moodValue)
        {
            Console.WriteLine("吃甜品");
            moodValue += 2;
        }
    }
}
